package com.hhkj.study.admin.resource.service.biz;

import com.hhkj.study.admin.resource.entity.ResourceCourseOffline;
import com.hhkj.study.admin.resource.model.req.ResourceCourseDocReq;
import com.hhkj.study.admin.resource.model.req.ResourceCourseOfflineReq;
import com.hhkj.study.admin.resource.model.res.ResourceCourseOfflineRes;
import com.hhkj.study.common.model.res.ExcelImportResultRes;
import com.ruoyi.common.base.biz.service.biz.BaseBizService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
* ResourceCourseOfflineBizService
*
* @author SERVER
* @since 2024-09-06
*/
public interface ResourceCourseOfflineBizService extends BaseBizService<ResourceCourseOffline, ResourceCourseOfflineReq, ResourceCourseOfflineRes> {

    boolean updatePublishFlag(ResourceCourseDocReq req);

    void export(ResourceCourseOfflineReq req, HttpServletResponse response);

    ExcelImportResultRes importOffline(MultipartFile file, HttpServletRequest request);
}